# -*- coding: utf-8 -*-
# ㊎ Author : XMZ
# ㊍ Time : 2021/10/14 14:32
# ㊌ File : formula -> url.py
# ㊋ IDE :  PyCharm
# ㊏ 
import os
import sys
from django.urls import path, include
from .views import Home
from .authorization import FormulaTokenObtainPairView

self_path = os.path.dirname(os.path.abspath(__file__))
father_path = os.path.dirname(self_path)
parent_path = os.path.dirname(father_path)
sys.path.append(self_path)
sys.path.append(father_path)
sys.path.append(parent_path)

urlpatterns = [
    path("home", Home.as_view(), name="Home"),
    path("login", FormulaTokenObtainPairView.as_view(), name="login"),
]
